﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BulldogCMS.Data.Fields;
using BulldogCMS.Data.Templates;

namespace BulldogCMS.Data
{
    public interface IStorage : IChildNodesProvider, IChildFilesProvider
    {
        INode GetNode(Guid nodeID);

        IEnumerable<INode> GetChildNodes(Guid nodeID);

        void DeleteNode(INode node);

        void DeleteNode(Guid nodeID);
    }
}
